import { guID } from "@/common.js"
import * as func from "./func.js"
import CusSplit from "@/views/addCustomForm/components/CusSplit/index.vue"
import CusText from "@/views/addCustomForm/components/CusText/index.vue"
import CusDivide from "@/views/addCustomForm/components/CusDivide/index.vue"
import CusInput from "@/views/addCustomForm/components/CusInput/index.vue"
import CusTextAreaPrint from "@/views/addCustomForm/components/CusTextAreaPrint/index.vue"
import CusTextArea from "@/views/addCustomForm/components/CusTextArea/index.vue"
import CusRadio from "@/views/addCustomForm/components/CusRadio/index.vue"
import CusCheckBox from "@/views/addCustomForm/components/CusCheckBox/index.vue"
import CusSelect from "@/views/addCustomForm/components/CusSelect/index.vue"
import CusDate from "@/views/addCustomForm/components/CusDate/index.vue"
import CusDateRange from "@/views/addCustomForm/components/CusDateRange/index.vue"
import CusUploadImg from "@/views/addCustomForm/components/CusUploadImg/index.vue"
import CusUploadFile from "@/views/addCustomForm/components/CusUploadFile/index.vue"
import CusBloodPressure from "@/views/addCustomForm/components/CusBloodPressure/index.vue"
import CusPulseDorsalis from "@/views/addCustomForm/components/CusPulseDorsalis/index.vue"
import CusCurrentAndTarget from "@/views/addCustomForm/components/CusCurrentAndTarget/index.vue"
import CusMedicine from "@/views/addCustomForm/components/CusMedicine/index.vue"
import CusMedicinePrint from "@/views/addCustomForm/components/CusMedicinePrint/index.vue"
import CusSymptom from "@/views/addCustomForm/components/CusSymptom/index.vue"
export default {
  name: '',
  props: {
    modalType: {
      type: [String, Number],
      default: 0, // 0: 默认值   1：打印   2：列表中表单预览   3：编辑中预览   4：随访详情页的表单默认禁用  5：新增随访页面  6: 编辑随访
    },
    operateForm: {
      type: Array,
      default: () => [],
    }
  },
  components:{
    CusSplit,
    CusText,
    CusDivide,
    CusInput,
    CusTextAreaPrint,
    CusTextArea,
    CusRadio,
    CusCheckBox,
    CusSelect,
    CusDate,
    CusDateRange,
    CusUploadImg,
    CusUploadFile,
    CusBloodPressure,
    CusPulseDorsalis,
    CusCurrentAndTarget,
    CusMedicine,
    CusMedicinePrint,
    CusSymptom,
  },
  data(){
    return {
      
    }
  },
  methods:{
    ...func,
  },
  created(){
    // console.log(this.modalType)
  },
  mounted(){
    
  },
}